<div ng-include="sys_html('layout/_header')"></div>
<div class="ncm-container">
     <div ng-include="sys_html('layout/member/left-layout')"></div> 
    <div class="right-layout">
        <div class="wrap">
             <div ng-include="sys_html('layout/member/tabmenu')"></div> 
            <div class='fui-page  fui-page-current member-log-page' style="background-color:#ffffff;">
                <div class='fui-content' >
					<div class="fui-tab fui-tab-success">
						<a ng-class="{'active':pagedata.params.type==1}" class="external" href="javascript:;" ng-click="pagedata.params.type=1;tool.get_list('core/member.credit_log/list/type=1',true)">积分日志</a>
						<a ng-class="{'active':pagedata.params.type==2}" class="external" href="javascript:;" ng-click="pagedata.params.type=2;tool.get_list('core/member.credit_log/list/type=2',true)">余额日志</a>
					</div>
					<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
						<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
					</div>
					<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
						<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
							<div class="fui-list-inner">
								<div class='title'>
									<span ng-show="item.is_add==1" class="label label-success">{{item.is_addtitle}}</span>
									<span ng-show="item.is_add!=1" class="label label-danger">{{item.is_addtitle}}</span>
									<span class="red" style="margin-left:0.3rem">{{item.fee}}</span>
									<span class="gray" style="font-size:0.6rem;"> {{item.type==1?'个':'元'}}</span>
								</div>
								<div class='gray'>{{item.createtime}}</div>
							</div>
							<div class='fui-list-angle'>
								<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.remark}}</span>
							</div>
						</div>
					</div>
				</div>
            </div>
        </div>
    </div>
</div>
<div ng-include="sys_html('layout/_footer')"></div>
<script>
scope.tool.get_list('core/member.credit_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('core/member.credit_log/list/');
}
</script>